<?php

// using
use \hpnWse\nWp\stBase as stWpBase;

get_header(); 
?>

<section class="mi_PageSrch">
	<div class="mi_CenPut">
		<form method="get" class="mi_SrchForm mi_MgnTp_20" action="<?php echo home_url('/'); ?>">
			<input class="mi_Kwds" type="text" name="s" placeholder="关键字..." autocomplete="off">
			<input class="mi_Sbmt" type="submit" value="搜 索">
		</form>

		<h1 class="mi_MgnTp_30 mi_MgnBm_30">
		关键字“<?php echo get_search_query(); ?>”的搜索结果：
		</h1>

		<div class="mi_SrchRstDiv">
			<ol>
			<?php 
				global $post;
				while (have_posts()) : the_post(); $l_Artc = (array)$post;
			?>
				<li>
					<a href="<?php echo $l_Artc['guid'] ?>"><?php echo $l_Artc['post_title'] ?></a>
					<p class="mi_MgnTp_10 mi_PadLt_15">
						<?php echo get_the_excerpt(); ?>
					</p>
				</li>
			<?php endwhile ?>
			</ol>
		</div>
	</div>
</section>

<?php
if ( !have_posts() )
{
	echo '<section class="mi_CenPut" style="padding: 50px 0;">没有找到相关内容。</section>';
}
?>


<?php 
$g_QqBaseY = 120;
get_footer();
